﻿using Application.Dto;
using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.AppService
{
	public interface IUserAppService
	{
		List<User> UserSelect(UserSelectDto userSelectDto);
		List<User> UserGet();
		bool UserDelete(UserSelectDto userSelectDto);
		bool UserUpdate(UserSelectDto userSelectDto);
		List<CPC> GetName(CPCDto cPCDto);
		List<User> GetUsers(int id);
		bool UserAdd(UserSelectDto userSelectDto);
		List<Roles> RolesSelect();
		bool AddRoles(RolesDto roles);
		bool DeleteRoles(int id);


		public List<Trees2> trees(string id);
		public List<Jurisdiction> trees2();

		Task<List<int>> selectRolesJurisdiction(int id);

		List<Roles> Shwo(int id);

		Task<List<Jurisdiction>> JurisdictionList();

		bool UpdateRole(string RolesName, string RolesInstruction, int RolesIf, string JuriID, int RolesID);

	}
}
